import DateTimePointPicker from './components/DateTimePointPicker'
import DateTimeRangePicker from './components/DateTimeRangePicker'
import ImageUploader from './components/ImageUploader'
import QueryList from './components/QueryList'
import Tinymce from './components/Tinymce'

const components = [
  DateTimePointPicker,
  DateTimeRangePicker,
  ImageUploader,
  QueryList,
  Tinymce
]

const install = function(Vue, opts = {}) {
  components.forEach(component => {
    Vue.use(component)
  })
}

export {
  DateTimePointPicker,
  DateTimeRangePicker,
  ImageUploader,
  QueryList,
  Tinymce
}

export default {
  install
}
